<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0058)http://b2office.com.cn/gomodify.do?method=GetModifyMessage -->
<HTML><HEAD><TITLE>碧城</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8"><LINK 
href="css/head.css" type=text/css rel=stylesheet><LINK 
href="css/vip.css" type=text/css rel=stylesheet><LINK 
href="css/style.css" type=text/css rel=stylesheet><LINK 
href="css/tuangou.css" type=text/css rel=stylesheet>
<SCRIPT src="js/registerdel.js" type=text/javascript></SCRIPT>
<SCRIPT src="js/checkMobilRight.js" type=text/javascript></SCRIPT>
<#--	DWR js	-->
<script type='text/javascript' src='dwr/interface/addressService.js'></script>
<script type='text/javascript' src='dwr/engine.js'></script>
<script type='text/javascript' src='dwr/util.js'></script>

<script type='text/javascript' src='js/selectAddress.js'></script>
<script type='text/javascript'>
String.prototype.trim=function()
{
         //   用正则表达式将前后空格
         //   用空字符串替代。
         return   this.replace(/(^\s*)|(\s*$)/g,"");
}
function checkAddress(){
	var cname=document.getElementById("realname");
	var mobile=document.getElementById("mobile");
	var tel=document.getElementById("tel");
	var county=document.getElementById("countyid");
	var addr=document.getElementById("addr");
		
	var str="";
	var flag=true;
	if(cname.value==null||cname.value.trim()==""){
		str=str+"请填写收货人姓名.\n";
		flag=false;
	}
	if((mobile.value==null||mobile.value.trim()=="")&&(tel.value==null||tel.value.trim()=="")){
		str=str+"请填写至少一项电话信息(家庭电话/手机).\n";
		flag=false;
	}

	if(county.selectedIndex<0){
		
		str=str+"请选择所在社区.\n";
		flag=false;
	}
	if(addr.value==null||addr.value.trim()==""){
		str=str+"请填写详细地址信息.";
		flag=false;
	}
	
	if(!flag){
		alert(str);
	}
	return flag;
}
</script>

<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<#assign s=JspTaglibs["/WEB-INF/struts-tags.tld"]>
<@s.head/>
</HEAD>
<BODY>
<SCRIPT src="js/login.js" type=text/javascript></SCRIPT>

<LINK href="css/style.css" type=text/css rel=stylesheet><LINK 
href="css/head.css" type=text/css rel=stylesheet>
<#------------------------------------------------------------->
 <#include "/WEB-INF/view/header.ftl" />
<#-------------------------------------------------------------->

<LINK href="css/style.css" type=text/css rel=stylesheet>
<LINK href="css/vip.css" type=text/css rel=stylesheet>

<DIV class=vip_outer1>
<DIV class=viphead_left>
</DIV>
<DIV class=viphead_midst1>
<DIV class=viphead_name>
<#if Session?exists>
${Session.user.regName?if_exists}<#if Session.user.memberno?exists> [${Session.user.memberno}]</#if></#if>
的VIP专属超市</DIV>
<DIV class=viphead_navouter>
<TABLE class=viphead_nav cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
    <TD class=viphead_title1><A class=viphead_link 
      href="mycollection.htm">我的收藏</A></TD>
    <TD class=viphead_title2_2><A class=viphead_link 
      href="myProfile.htm">我的个人信息</A></TD>
    <TD class=viphead_title2><A class=viphead_link 
      href="myOrder.htm">我的家庭帐本</A></TD></TR></TBODY></TABLE></DIV></DIV>
<DIV class=viphead_midst2></DIV>
<DIV class=viphead_midst3>
<UL>
  <LI><A class=viphead_link2 
  href="#">什么是VIP专属超市?</A> 

  <LI><A class=viphead_link2 
  href="#">如何快速建立VIP专属超市?</A> 
  </LI></UL></DIV>
<DIV class=viphead_right></DIV></DIV>
<DIV class=share_body><!--我的帐户标签开始-->
<DIV class=vip_labelinner>
<TABLE class=vip_table1 cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
    <TD class=vip_table1bgleft></TD>
    <TD class=vip_table1bgmidst>
      <TABLE class=vip_labelinnertable1 cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD class=vip_table1left></TD>
          <TD class=jf_red 
          onclick="window.location.href='myProfile.htm'">基本信息修改</TD>
          <TD class=jf_red2 
          onclick="window.location.href='modifyPwd.htm'">密码修改</TD>
          <!--<TD class=jf_red2 
          onclick="window.location.href='#'">收货地址修改</TD>-->
          <TD align=middle> &nbsp;&nbsp;
          </TD></TR></TBODY></TABLE></TD>
    <TD class=vip_table1bgright></TD></TR></TBODY></TABLE></DIV><!--我的帐户标签结束-->
<DIV class=vip_content>

<form name="baseInfoForm" action="modifyBaseInfo.htm" method="post" onSubmit="return checkAddress();">

<TABLE class=vip_table2 id=registerdel cellSpacing=1 cellPadding=5 width="85%" 
bgColor=#ffcc66 border=0>
  <TBODY>
  <TR>
    <TD class=plist_title4_2 align=middle bgColor=#fcdbba 
  colSpan=2>会员基本信息</TD></TR>
  <TR>
    <TD class=plist_title4_3 align=right width="17%" bgColor=#f8f1eb>*真实姓名：</TD>
    <TD align=left width="83%" bgColor=#ffffff>
    <table border="0" cellspacing="0" cellpadding="0" >
    <@s.textfield name="realname" value="${member.realname?if_exists}"/>
    </table> 
    </TD></TR>
  <TR>
    <TD class=plist_title4_3 align=right width="17%" bgColor=#f8f1eb>*办公地点：</TD>
    <TD align=left bgColor=#ffffff>

      <span style="color:red"><#list actionErrors as mes>*${mes?if_exists}<br></#list></span>
            
      <SELECT id="district" name="model.district" onchange="changeDistrict(this);" >
      <OPTION id="dis" value="0" selected>选择城区</OPTION>
      <#if dists?exists>
  		<#list dists as listDistrict>
  		<OPTION value="${listDistrict.idno}" <#if address?exists><#if address.district ==listDistrict.idno >selected</#if></#if>>${listDistrict.dname}</OPTION> 
  		</#list>
      </#if>
      </SELECT> 
      <SELECT id="countyid" name="countyid" >
      <OPTION value="-1" selected>选择位置</OPTION>
  		<#list countys?if_exists as listCounty>
  		 <OPTION value="${listCounty.idno}" <#if address?if_exists.countyid ==listCounty.idno >selected</#if>>${listCounty.cname}</OPTION> 
  		</#list>
      </SELECT> 
      &nbsp;*地址 
      <INPUT id="addr" name="addr" value="${address?if_exists.addr?if_exists}"> &nbsp;     		 
      </TD>
    </TR>
  <TR>
    <TD class=plist_title4_3 align=right width="17%" bgColor=#f8f1eb>手机：</TD>
    <TD align=left bgColor=#ffffff>
    <table border="0" cellspacing="0" cellpadding="0" >
    <@s.textfield id="mobil" onblur="checkMobilModify(this);" name="mobile" value="${address?if_exists.mobil?if_exists}" /> 
    </table>
      <SPAN id=mobilMess></SPAN></TD></TR>
  <TR>
    <TD class=plist_title4_3 align=right width="17%" bgColor=#f8f1eb>家庭电话：</TD>
    <TD align=left bgColor=#ffffff>
    	<table border="0" cellspacing="0" cellpadding="0" >
    		<tr>
    			<td>
    				<table border="0" cellspacing="0" cellpadding="0" >
    				<@s.textfield id="tel" name="tel" value="${address?if_exists.tel?if_exists}" />
    				</table>
    			</td>
    			<td>&nbsp;&nbsp;(电话必须带区号如01084933206,010-84933206)
    			</td>
    		</tr>
    	</table> 
    </TD>
 </TR>
  <TR>
    <TD class=plist_title4_3 align=right width="17%" bgColor=#f8f1eb>公司电话：</TD>
    <TD align=left bgColor=#ffffff>
    <table border="0" cellspacing="0" cellpadding="0" >
    <@s.textfield id="officetel" name="officetel" value="${address?if_exists.officetel?if_exists}" /> </table></TD></TR>
  <TR>
    <TD class=plist_title4_3 align=right width="17%" bgColor=#f8f1eb>出生日期：</TD>
    <TD align=left bgColor=#ffffff>
    <input type="text" maxLength="4" size="4" value="${member.birthday?if_exists}" name="birthday"/>
    </TD>
 </TR>
  <TR>
    <TD class=plist_title4_3 align=right width="17%" bgColor=#f8f1eb>证件种类： </TD>
    <TD align=left bgColor=#ffffff>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD width="14%">
          <SELECT id="certfkind" name="certfkind"> 
	          <OPTION value="20" <#if member.certfkind ==20>selected</#if> >身份证</OPTION> 
	          <OPTION value="21" <#if member.certfkind ==21>selected</#if> >军官证</OPTION> 
	          <OPTION value="22" <#if member.certfkind ==22>selected</#if> >驾驶证</OPTION> 
	          <OPTION value="23" <#if member.certfkind ==23>selected</#if> >护照</OPTION>
          </SELECT> 
          </TD>
          <TD width="86%">号码：<INPUT name="cardId" value="${member.cardid?if_exists}" /> 
          </TD>
          </TR>
          </TBODY>
       </TABLE>
     </TD>
  </TR>
  <TR>
    <TD class=plist_title4_3 align=right width="17%" bgColor=#f8f1eb>密码保护问题：</TD>
    <TD align=left bgColor=#ffffff>
    <SELECT id="quest" name="quest">
	    <OPTION value="17" <#if member.quest ==17>selected</#if> >你叫什么名字</OPTION> 
	    <OPTION value="18" <#if member.quest ==18>selected</#if> >你的生日是那天？</OPTION> 
	    <OPTION value="19" <#if member.quest ==19>selected</#if> >你的父亲叫什么名字？</OPTION>
    </SELECT> 
    </TD>
    </TR>
  <TR>
    <TD class=plist_title4_3 align=right width="17%" bgColor=#f8f1eb>您的答案：</TD>
    <TD align=left bgColor=#ffffff><INPUT id="answer" name="answer" value="${member.answer?if_exists}"> </TD></TR>
  <TR>
    <TD class=plist_title4_3 align=right width="17%" 
    bgColor=#f8f1eb>得知碧城的途径：</TD>
    <TD align=left bgColor=#ffffff>
    <INPUT type="radio" value="radiobutton" name="radiobutton"> 互联网&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    <INPUT type="radio" value=radiobutton name="radiobutton"> 社区宣传单&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    <INPUT type="radio" value=radiobutton name="radiobutton"> 朋友介绍</TD></TR>
  <TR>
    <TD bgColor=#f8f1eb>&nbsp; </TD>
    <TD align=left bgColor=#ffffff>
      <TABLE cellSpacing=0 cellPadding=0 width="25%" border=0>
        <TBODY>
        <TR>
          <TD width="50%">
          <input type="submit" value="提交"/>
          </TD>
          <TD width="50%"><INPUT type=reset value=重填 name=reset> 
      </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
</form>
</DIV>
</DIV>
<!--我的帐户外div结束-->
<DIV></DIV><LINK href="css/style.css" type=text/css 
rel=stylesheet><LINK href="css/foot.css" type=text/css 
rel=stylesheet>
<DIV class=foot_outer1>
<DIV class=foot02></DIV>
<DIV class=foot02></DIV>
<DIV class=foot02></DIV>
<DIV class=foot02></DIV>
<DIV class=foot03>
</DIV>
</DIV>
<#------------------------------ include file  -------------------------------------------->
<#include "/WEB-INF/view/footer.ftl" />
<#------------------------------  include file  ------------------------------------------->

</BODY>
</HTML>
